<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns="http://www.nakov.com/schemas/library"
  targetNamespace="http://www.nakov.com/schemas/library">
  
	<xs:element name="students">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="student" maxOccurs="unbounded" />
			</xs:sequence>
		</xs:complexType>
	</xs:element>

	<xs:element name="student">
		<xs:complexType>
			<xs:element ref="name" type="xs:string" />
			<xs:element ref="sex" type="xs:string" />
			<xs:element ref="bdate" type="xs:string" />
			<xs:element ref="phone" type="xs:string" />
			<xs:element ref="email" type="xs:string" />
			<xs:element ref="course" type="xs:string" />
			<xs:element ref="spec" type="xs:string" />
			<xs:element ref="fnum" type="xs:string" />
			<xs:sequence>
				<xs:element ref="exam" maxOccurs="unbounded" />
			</xs:sequence>
		</xs:complexType>
	</xs:element>

</xs:schema>
